<?php
/**
 * @copyright 2008 cryonyx
 */

/**
 * Loads/stores VC options from/to database. Implementation depends on CMS.
 * During the execution of VC all options are stored in a session.
 */
interface VC_Options {
	/**
	 * Loads all options from database into session.
	 * 
	 * @param string $option Defines a specific option to fetch
	 * @return boolean
	 */
	public function fetch($option = NULL);
	
	/**
	 * Stores all options from the session into database.
	 * 
	 * @param string $option Defines a specific option to store
	 * @return boolean
	 */
	public function store($option = NULL);

}
?>